<template>
	<view class="tool-bar">
		<view class="tool-bar-content" :style="{height: height + 'rpx'}">
			<slot></slot>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		props: {
			height: {
				type: Number,
				default: 108
			}
		}
	}
</script>

<style lang="scss" scoped>
	.tool-bar {
		position: fixed;
		z-index: 999;
		bottom: 0;
		padding-bottom: constant(safe-area-inset-bottom);
		padding-bottom: env(safe-area-inset-bottom);
		width: 100%;
		background-color: #FFFFFF;
		border-top: 1px solid #EAEAEA;
	}
	.tool-bar-content {
		// display: flex;
	}
</style>
